import { defineStore } from 'pinia';

export const useAddressStore = defineStore('address', {
    state: () => ({
		defaultAddress: null,
        selectedAddress: null
    }),
    actions: {
		setDefaultAddress(address) {
            this.defaultAddress = address;
        },
        setSelectedAddress(address) {
            this.selectedAddress = address;
        }
    }
});